#define _CRT_SECURE_NO_WARNINGS
#include"SingleLinkList.h"

void test1()
{
	SLTNode* plist = NULL;
	SListPushback(&plist, 1);
	SListPushback(&plist, 2);
	SListPushback(&plist, 3);
	SListPushback(&plist, 4);

	SListPrint(plist);
	SListPopFront(&plist);
	SListPrint(plist);

	SListPopBack(&plist);
	SListPrint(plist);

	SListDestory(&plist);
	SListPrint(plist);

}

int main()
{
	test1();
	return 0;
}